package com.motus.pm.vo;

import java.util.HashSet;
import java.util.Set;

import org.apache.struts2.json.annotations.JSON;

/**
 * PmPhaseInfo entity. @author MyEclipse Persistence Tools
 */

public class PmPhaseInfo implements java.io.Serializable {

	// Fields

	private String phaseId;
	private MotusDept motusDept;
	private String phaseName;
	private Set pmProjectTasks = new HashSet(0);
	private Set pmProjectPhases = new HashSet(0);

	// Constructors

	/** default constructor */
	public PmPhaseInfo() {
	}

	/** minimal constructor */
	public PmPhaseInfo(String phaseId, MotusDept motusDept) {
		this.phaseId = phaseId;
		this.motusDept = motusDept;
	}

	/** full constructor */
	public PmPhaseInfo(String phaseId, MotusDept motusDept, String phaseName,
			Set pmProjectTasks, Set pmProjectPhases) {
		this.phaseId = phaseId;
		this.motusDept = motusDept;
		this.phaseName = phaseName;
		this.pmProjectTasks = pmProjectTasks;
		this.pmProjectPhases = pmProjectPhases;
	}

	// Property accessors

	public String getPhaseId() {
		return this.phaseId;
	}

	public void setPhaseId(String phaseId) {
		this.phaseId = phaseId;
	}

	@JSON(serialize=false)
	public MotusDept getMotusDept() {
		return this.motusDept;
	}

	public void setMotusDept(MotusDept motusDept) {
		this.motusDept = motusDept;
	}

	public String getPhaseName() {
		return this.phaseName;
	}

	public void setPhaseName(String phaseName) {
		this.phaseName = phaseName;
	}

	@JSON(serialize=false)
	public Set getPmProjectTasks() {
		return this.pmProjectTasks;
	}

	public void setPmProjectTasks(Set pmProjectTasks) {
		this.pmProjectTasks = pmProjectTasks;
	}

	@JSON(serialize=false)
	public Set getPmProjectPhases() {
		return this.pmProjectPhases;
	}

	public void setPmProjectPhases(Set pmProjectPhases) {
		this.pmProjectPhases = pmProjectPhases;
	}




}
